package com.xmg.design23.d8_decorate;

/**
 * @description: 抽象装饰者类
 * @Author: mazhongqing
 * @Date: 2021/3/31 11:26
 */
public abstract class Garnish extends FastFood{

    private FastFood fastFood;

    public FastFood getFastFood() {
        return fastFood;
    }

    public void setFastFood(FastFood fastFood) {
        this.fastFood = fastFood;
    }

    public Garnish(FastFood fastFood,float price,String desc){
        super(price,desc);
        this.fastFood = fastFood;
    }
}
